home *** CD-ROM | disk | FTP | other *** search
/ Science Fair / Science Fair.iso / pc / working / mirror.dir / 00069.ls < prev    next >
Encoding:
Text File  |  1995-03-26  |  5.7 KB  |  161 lines

  1. on exitFrame
  2.   set the castNum of sprite 2 to 3
  3.   set the castNum of sprite 3 to 5
  4.   set the castNum of sprite 4 to 7
  5.   set the castNum of sprite 6 to 13
  6.   set the castNum of sprite 7 to 9
  7.   set the castNum of sprite 16 to 11
  8.   set the castNum of sprite 17 to 1
  9.   set the visible of sprite 2 to 1
  10.   set the visible of sprite 3 to 1
  11.   set the visible of sprite 4 to 1
  12.   set the visible of sprite 6 to 1
  13.   set the visible of sprite 7 to 1
  14.   set the visible of sprite 16 to 1
  15.   set the visible of sprite 17 to 1
  16.   puppetSprite(2, 0)
  17.   puppetSprite(3, 0)
  18.   puppetSprite(4, 0)
  19.   puppetSprite(6, 0)
  20.   puppetSprite(7, 0)
  21.   puppetSprite(16, 0)
  22.   puppetSprite(17, 0)
  23.   set n to random(28)
  24.   if n = 1 then
  25.     go("windmill")
  26.     exit
  27.   else
  28.     if n = 2 then
  29.       go("compass")
  30.       exit
  31.     else
  32.       if n = 3 then
  33.         go("arrow")
  34.         exit
  35.       else
  36.         if n = 4 then
  37.           go("shower")
  38.           exit
  39.         else
  40.           if n = 5 then
  41.             go("saucet1")
  42.             exit
  43.           else
  44.             if n = 6 then
  45.               go("saucet2")
  46.               exit
  47.             else
  48.               if n = 7 then
  49.                 go("shadow")
  50.                 exit
  51.               else
  52.                 if n = 8 then
  53.                   go("slide")
  54.                   exit
  55.                 else
  56.                   if n = 9 then
  57.                     go("smoke")
  58.                     exit
  59.                   else
  60.                     if n = 10 then
  61.                       go("smoke2")
  62.                       exit
  63.                     else
  64.                       if n = 11 then
  65.                         go("springs")
  66.                         exit
  67.                       else
  68.                         if n = 12 then
  69.                           go("suntan")
  70.                           exit
  71.                         else
  72.                           if n = 13 then
  73.                             go("thunder")
  74.                             exit
  75.                           else
  76.                             if n = 14 then
  77.                               go("box")
  78.                               exit
  79.                             else
  80.                               if n = 15 then
  81.                                 go("campfire")
  82.                                 exit
  83.                               else
  84.                                 if n = 16 then
  85.                                   go("candle")
  86.                                   exit
  87.                                 else
  88.                                   if n = 17 then
  89.                                     go("waterdrop")
  90.                                     exit
  91.                                   else
  92.                                     if n = 18 then
  93.                                       go("electdrill")
  94.                                       exit
  95.                                     else
  96.                                       if n = 19 then
  97.                                         go("fall")
  98.                                         exit
  99.                                       else
  100.                                         if n = 20 then
  101.                                           go("fallcoat")
  102.                                           exit
  103.                                         else
  104.                                           if n = 21 then
  105.                                             go("falling")
  106.                                             exit
  107.                                           else
  108.                                             if n = 22 then
  109.                                               go("fly")
  110.                                               exit
  111.                                             else
  112.                                               if n = 23 then
  113.                                                 go("hotair")
  114.                                                 exit
  115.                                               else
  116.                                                 if n = 24 then
  117.                                                   go("hourgs")
  118.                                                   exit
  119.                                                 else
  120.                                                   if n = 25 then
  121.                                                     go("magnify")
  122.                                                     exit
  123.                                                   else
  124.                                                     if n = 26 then
  125.                                                       go("magnet1")
  126.                                                       exit
  127.                                                     else
  128.                                                       if n = 27 then
  129.                                                         go("magnet2")
  130.                                                         exit
  131.                                                       else
  132.                                                         go("rainbow")
  133.                                                       end if
  134.                                                     end if
  135.                                                   end if
  136.                                                 end if
  137.                                               end if
  138.                                             end if
  139.                                           end if
  140.                                         end if
  141.                                       end if
  142.                                     end if
  143.                                   end if
  144.                                 end if
  145.                               end if
  146.                             end if
  147.                           end if
  148.                         end if
  149.                       end if
  150.                     end if
  151.                   end if
  152.                 end if
  153.               end if
  154.             end if
  155.           end if
  156.         end if
  157.       end if
  158.     end if
  159.   end if
  160. end
  161.